package com.sdry.mapper.workplace;

import java.util.List;
import java.util.Map;

import com.sdry.model.hpf.LineSideLibrary;
import com.sdry.model.hpf.LineSideLibraryOut;
import com.sdry.model.hpf.Product;
import com.sdry.model.llm.Classes;
import com.sdry.model.llm.EmployeeRecord;
import com.sdry.model.llm.ProductionLine;
import com.sdry.model.llm.Team;
import com.sdry.model.llm.TeamRecord;
import com.sdry.model.lz.DeviceBreakdown;
import com.sdry.model.lz.DeviceModel;
import com.sdry.model.workplace.Assemble;


public interface OthersMapper {
	/**
	 * 条件查询设备表信息
	 * @param deviceModel
	 * @return
	 */
	public List<DeviceModel> deviceByMution(DeviceModel deviceModel);
	/**
	 * 修改设备状态
	 * @param deviceModel
	 * @return
	 */
	public Integer deviceUpdate(DeviceModel deviceModel);
	/**
	 * 根据时间/产品/膜管编号查组装膜管
	 * @param map
	 * @return
	 */
	public List<Assemble> selectAtubeByDateAndProduct(Map<String, Object> map);

	/**
	 * 查询线边库出库
	 * @param map
	 * @return
	 */
	public List<LineSideLibraryOut> listLineSideLibraryOutByMution(LineSideLibraryOut libraryOut);
	/**
	 * 查询班组记录
	 * @param map
	 * @return
	 */
	public List<TeamRecord> teamRecordByMution(TeamRecord record);
	/**
	 * 查询员工记录
	 * @param map
	 * @return
	 */
	public List<EmployeeRecord> employeeRecordByMution(EmployeeRecord record);
	/**
	 * 查询报修记录
	 * @param map
	 * @return
	 */
	public List<DeviceBreakdown> deviceBreakdownByMution(DeviceBreakdown record);
	/**
	 * 查询线边库
	 * @param map
	 * @return
	 */
	public List<LineSideLibrary> lineSideLibraryByMution(LineSideLibrary record);
	/**
	 * 根据编号查询产品信息
	 * @param pnum
	 * @return
	 */
	public Product findProductByPnum(String pnum);
	/**
	 * 条件查询生产线信息
	 * @param productionLine
	 * @return
	 */
	public List<ProductionLine> productionLineByMution(
			ProductionLine productionLine);
	/**
	 * 条件查询班组信息
	 * @param team
	 * @return
	 */
	List<Team> teamByMution(Team team);
	/**
	 * 条件查询班次信息
	 * @param classes
	 * @return
	 */
	List<Classes> classesByMution(Classes classes);
}